.profile{
  display: flex;
  max-width: 1280px;
  min-height: 100vh;
  justify-content: center;
  align-items: flex-start;
}
.profile__container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 70%;
  width: 90%;
  max-width: 410px;

 /*  max-width: 410px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px; */
}
@media screen and (max-width: 320px) {
  .profile__container {
    /* max-width: 265px;
    padding: 0; */
    height: 68%;
    max-width: 80%;
  }
}
.profile__error{
  width: 100%;
  color: #FF004C;
  text-align: end;
  font-size: 11px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  height:14px;
  display:block;
}
.profile__button-save{
  width: 100%;
height: 45px;
border-radius: 3px;
background: #3456F3;
color: #FFF;
text-align: center;
border:none;
font-size: 14px;
font-style: normal;
font-weight: 500;
margin: 0 auto;
}
.profile__button-save_inactive{
  color: #C2C2C2;
  text-align: center;
  border:none;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
background: #F8F8F8;
}
.profile__button {
  color: #000;
  text-align: center;
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  width: 100%;
  border: none;
  background-color: white;
  margin: 0 auto;
}

.profile__form-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: solid 1px #e8e8e8;
  margin-bottom: 3px;
  padding-bottom: 16px;
}

.profile__form-container:last-child {
  border: none;
}
.profile__fieldset {
  border: none;
  margin: 0;
  padding: 0;
}
.profile__header {
  margin-top: 70px;
  margin-bottom: 123px;
  color: #000;
  text-align: center;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}
@media screen and (max-width: 786px) {
  .profile__header {
    margin-top: 230px;
    margin-bottom: 100px;
  }
}
@media screen and (max-width: 320px) {
  .profile__header {
    margin-bottom: 78px;
    margin-top: 66px;
  }
}
.profile__field-name {
  color: #000;
  font-family: Inter;
  font-size: 11px;
  font-weight: 500;
  line-height: normal;
}
.profile__input {
  color: #000;
  text-align: right;
  font-size: 11px;
  font-weight: 400;
  line-height: normal;
  border: none;
  outline: none;
}
.profile__input:focus{
  background-color: #ededed;
}
.profile__form {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: calc(100vh - 400px);
  min-height: 150px;
}
@media screen and (max-width: 786px) {
  .profile__form {
    min-height: 330px;
    height: calc(100vh - 735px);
  }
}
@media screen and (max-width: 320px) {
  .profile__form {
    height: calc(100vh - 325px);
  }
}
.profile__form-button {
  color: #ee3465;
  font-size: 13px;
  font-weight: 500;
  line-height: normal;
  display: flex;
  justify-content: center;
  margin-top: 16px;
  border: none;
 
}
